package cn.com.open.opensaas.scoreservice.service;

import java.util.List;
import java.util.Map;

public interface QuestionContentService {

	/**
	 * 根据Ids批量获取QuestionContent
	 * @param questionIds
	 * @return
	 */
	public List<Map<String,Object>> findDBQuestionByIds(List questionIds);

	/**
	 * 判分逻辑
	 * @param questionList
	 * @return
     */
	public Map<String, Object> judge(List<Map<String, Object>> questionList);

	/**
	 * 批量获取数据库中试题
	 * @param questionList
	 * @return
			 */
	List<Map<String,Object>> batchFindDbQuestion(List<Map<String, Object>> questionList);

	/**
	 * 单题判分逻辑(新版)
	 * @param question
	 * @param contentJson
	 * @return
	 */
	public Map<String, Object> judgeQuestion(Map<String, Object> question, String contentJson);
}